SftTree/OCX 7.0

SftTree.ItemDataString Property

Softel vdm, Inc.

Defines an item's application specific string value.

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataString instead

Syntax       

Get

VB.NET

Text = object.get_ItemDataString(ByVal ItemIndex As Integer)  As String

VB

Text = object.ItemDataString(ByVal ItemIndex As Long)  As String

C#.NET

string Text = object.get_ItemDataString(int ItemIndex);

VC++

_bstr_t Text = object->ItemDataString[long ItemIndex];
_bstr_t Text = object->GetItemDataString(long ItemIndex);

C

HRESULT object->get_ItemDataString(long ItemIndex, BSTR* Text);

Delphi

Text := object.ItemDataString[ItemIndex : Integer]   : WideString;

Put

VB.NET

object.set_ItemDataString(ByVal ItemIndex As Integer, ByVal Text As String)

VB

object.ItemDataString(ByVal ItemIndex As Long) = Text  As String

C#.NET

void object.set_ItemDataString(int ItemIndex, string Text);

VC++

_bstr_t object->ItemDataString[long ItemIndex] = Text;
void object->PutItemDataString(long ItemIndex, _bstr_t Text);

C

HRESULT object->put_ItemDataString(long ItemIndex, BSTR Text);

Delphi

object.ItemDataString[ItemIndex : Integer] := Text   : WideString;

object

A SftTree object.

ItemIndex

The zero-based item index.

Text

Defines an item's application specific string value.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataString instead

The ItemDataString property defines an item's application specific string value.

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataFloat, Item.DataObject and Item.DataTag.  These are distinct properties and can be used at the same time.

Cell related data can be saved using the Cell.Data, Cell.DataObject, Cell.DataString and Cell.DataTag properties.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com